////////////////////////////////////////
// Flight.h
// class 'Flight' defines a flight in the flight reservation system

#ifndef FLIGHT_H
#define FLIGHT_H

#include <string>

using namespace std;

class Flight
{
private:
    string  airline;    // airline code
    int     flightNum;  // flight number
    string  orig;       // origin airport code
    string  dest;       // destination airport code
    float   price;      // total price in $s & cents
    int     seats;      // number of seats remaining

public:
    Flight();
    ~Flight();

    // mutator functions

    void set_airline(const string & a);
    void set_flightNum(int n);
    void set_orig(const string & o);
    void set_dest(const string & d);
    void set_price(float p);
    void set_seats(int s);
    void set(const string & a, int n, 
        const string & o, const string & d, float p, int s);

    // accessor functions

    string get_airline() const;
    int get_flightNum() const;
    string get_orig() const;
    string get_dest() const;
    float get_price() const;
    int get_seats() const;
};

#endif
